package com.smarthome.core.propertymanager;

import java.util.List;

import com.smarthome.core.payment.alipay.util.BankCallbackDomain;
import com.smarthome.domain.bean.ShPropertyFeePayment;

public interface PropertyFeePaymentService {

    /**
     * 记录支付记录
     * @param payment
     * @author KongXiangyu
     */
    void saveOrEdit(ShPropertyFeePayment payment);

    /**
     * 根据doorId,和月份区间查询缴费记录
     * 
     * @param payment
     * @return
     */
    List<ShPropertyFeePayment> selectListBetweenMonth(ShPropertyFeePayment payment);

    /**
     * 完成物业费支付
     * @param bankCallbackDomain
     * @author KongXiangyu
     */
    void finishPayment(BankCallbackDomain bankCallbackDomain);
}
